PHY ADD VEHICLE WHEEL

Adds a new wheel to the vehicle.

  Syntax
PHY ADD VEHICLE WHEEL ID, limb, x#, y#, z#, radius#, height#, location, direction
  Parameters
ID
Integer
identification number of the vehicle
limb
Integer
limb identification number for the wheel
x#
Float
position of the wheel on the X axis
y#
Float
position of the wheel on the Y axis
z#
Float
position of the wheel on the Z axis
radius#
Float
radius of the wheel
height#
Float
height of the wheel
location
Integer
a value of 0 sets the wheel at the rear and a value of 1 at the front
direction
Integer
dependant on the vehicle the wheels may need to spin in a different direction, 0 uses default and 1 will reverse the spin

  Returns

  Description

For a vehicle to operate correctly it is necessary to add 4 wheels to it. Failure to do this will result in problems when attempting to build the vehicle using the command phy build vehicle. Use this command to add each wheel in turn to the vehicle.

  Example Code
No example code is provided for this command